package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

public class NavigationItem extends AppItem implements Serializable {
	String state;
	String path;
	String ad_type;
	String type;
	String urlid;
	String shareurl;
	String time;
	String title;
	String description;

	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		state = obj.optString("state");
		path = obj.optString("path");
		ad_type = obj.optString("ad_type");
		type = obj.optString("type");
		urlid = obj.optString("urlid");
		shareurl = obj.optString("shareurl");
		time = obj.optString("time");
		title = obj.optString("title");
		description = obj.optString("description");

	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getAd_type() {
		return ad_type;
	}

	public void setAd_type(String ad_type) {
		this.ad_type = ad_type;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUrlid() {
		return urlid;
	}

	public void setUrlid(String urlid) {
		this.urlid = urlid;
	}

	public String getShareurl() {
		return shareurl;
	}

	public void setShareurl(String shareurl) {
		this.shareurl = shareurl;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
		

}
